package Homework.Traffic;

public class police {
    public String name;
    public police(){}
    public police(String name){
        this.name = name;
    }
    public void writer (Driver driver,Car car,Accident accident){
        System.out.println(this.name + "开罚单给" + driver.name + "，因为" + car.name + accident.name);
    }

}
